import request from '@/utils/request'

export const fileUploadService = async ( file ) => {
  const formData = new FormData();
  formData.append('file', file);
  return await request.post('upload', formData);
}